package com.hafu.service;

import com.hafu.dao.StudentDao;
import com.hafu.model.Student;
import java.util.List;

public class StudentService {
    private StudentDao studentDao = new StudentDao();

    public List<Student> getAllStudents() {
        return studentDao.getAllStudents();
    }

    public boolean addStudent(Student student) {
        return studentDao.addStudent(student);
    }
}